CREATE TABLE [dbo].[OrderPickLine]
(
[OrderPickLineKey] [uniqueidentifier] NOT NULL,
[OrderFulfillmentLineKey] [uniqueidentifier] NOT NULL,
[ProductInventoryKey] [uniqueidentifier] NOT NULL,
[QuantityPicked] [numeric] (18, 8) NOT NULL CONSTRAINT [DF_OrderPickLine_QuantityPicked] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[OrderPickLine] ADD CONSTRAINT [PK_OrderPickLine] PRIMARY KEY CLUSTERED ([OrderPickLineKey]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_OrderPickLine_OrderFulfillmentLineKey] ON [dbo].[OrderPickLine] ([OrderFulfillmentLineKey]) ON [PRIMARY]
GO